Skip to content

Insert isValid function as an extention for colorjs.io#8

Merged
caoimghgin merged 1 commit intomainfrom
insert-isValid
Feb 9, 2025
Merged

Insert isValid function as an extention for colorjs.io#8
caoimghgin merged 1 commit intomainfrom
insert-isValid

Conversation

@caoimghgin
Copy link
Copy Markdown
Owner

@caoimghgin caoimghgin commented Feb 9, 2025

I reverted all previous validate-color routines to favor an approach where we can share improvements in a PR to colorjs.io.

This PR lifts portions of code from colorjs.io npm package that was private so we could expose and add an isValid function.

Also stubbed in a test-utils/tracer-bullet.js that can be called with node test-utils/tracer-bullets.js to quickly smoke test code (rather than running and console logging from the web page every time).

Also stubbed in a tracer-bullet.js to quickly verify code rather than running and console logging from the web page.
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 9, 2025

Deploy Preview for prismcolor-io ready!

Name Link
🔨 Latest commit fdcafc2
🔍 Latest deploy log https://app.netlify.com/sites/prismcolor-io/deploys/67a8bfb9b667340008d650c4
😎 Deploy Preview https://deploy-preview-8--prismcolor-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@caoimghgin caoimghgin merged commit eef538b into main Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant